package com.king.bean.btn;

public class ViewButton extends AbstractButton{
    private String type;
    private String url;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public ViewButton(String name,String url) {
        super(name);
        setType("view");
        this.url=url;
    }
}
